@import './reset.scss';
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
//@import './sidebar.scss';
@import './btn.scss';
@import './iconfont.scss';
@import './common.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0 !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
// 图片盒子
.img-box {
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}


/* 定义关键帧 */
@keyframes blink {
  0% {
    opacity: 1; /* 完全不透明 */
  }
  50% {
    opacity: 0; /* 完全透明 */
  }
  100% {
    opacity: 1; /* 再次不透明 */
  }
}

/* 应用动画到想要闪烁的元素 */
.blinking {
  animation: blink 1s infinite; /* 每1秒闪烁一次，无限次数 */
}

// 宽度1200
.w-1200 {
  width: 1240px;
  margin: 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
  @media (max-width: 767px) {
    & {
      width: 100%;
      padding-left: 10px !important;
      padding-right: 10px !important;
    }
  }
}
